fixed bug in String