remove useless stuff in the navigation