fixed result files for querying