improve error for extra characters
5 files changed