better handling of filters with placeholders