fixed gt/le/eq conditions