assign content type in resource filter