fixing the hover of the unit