fixing some event now on main page