small cleanup mouse hover code