fix clearRatPostion bug