fixing 3 issues on main page