loadFilter after new page load and some cleanup