fix wrong comparision syntax