improved error reporting on analyze, check, fix