Resolving library errors