clean styles before submenu