prompt messages in error case