Fix string in if statement