fix bug: upper limit does not work