fix lt and gt operator