Fix the directory issue ENOENT - due to path problem