tried to access old global refresh function when changing active filter