Now can display some error messages.