fix invalid resource directory name