Resolving errors in shape library.