bugfix: adjust the range with round