show messages in case of an error