Instead of using a string for a character I changed it to character.