Typo in getCharacter fixed, set timeout to 500ms