fixed lowerbound error