Fix setter bugs given unknwon dopts
Better error handling