error handling on spooling
fix
old v