fixed bug in fract.