pushing this to fix the error file writing