- fixed wrong round comparison code