checks for too many operators