resource location fix