removing some kruft and clearing main on root navigation