call filtering and cleanup