more bugfixes with Cwd::abs_path