finishes fixing the favorites on the sidebar