fixed resource location change in the code