fix bug in round