filter non-unique resources - fix formatting