Update StringLibrary

bug fixes