fix result_directory location