Fixed some string bugs