removing error message from the toolbar