correct a keystone rounding bug