corrections in query formulation