fixed resources naming bug