fix bug with >, >=