Avoid error from Char Input