fixes hover behavior