rewriten resources entity
rewrite resources entities