rid of useless calculation.