minor changes in HitListener