add callback for filter loading