fixed gt/lt mixup