change error message
TODO test added