fixed cleanup mistake (err re port var missing) .  added underscore def.