Fixed a bug for fractional fixing