Improve error handling in case of stray characters