bugfix on testing strings