fix less than issue