1.3.0 improvements
Better error handling and logging
Fix wrong constructor type