fixed syntax error in string comparison