fixed reading of error files with provider staging