fix error while creating symlink from nested directory