made mor verbose when errors