fix block stalling due to rounding error