remove <resource-ref>