Fix double rounding