fix ordering so name does not have to appear in resource dict