error messages are now displayed