- fixed: error handler def
- fixed: wrong constructor call