fix references to public resources