improved absolute_path