compute_current_path working