fixes for rounding numbers