error-file did not work