fix the necessary to show errors