Fixed minor bug with string