support promises in filters