moved version junk
fixed up errorhandler