try to show errors earlier.