move add_filter outside of theme main init