replace error message with empty tab