fixed missing default resource dir manipulation