Fix extra character, change error message