corrects comparison operator