fixed where in clause