fixed rearping error