fixed the bug of altLnCompFraction