can't use promises on filter