Fix resource locations