added and fixed code within '_get_result_paths'