fixed a directory path issue