fix resource location