bugfix: date and enum editor now work correctly

fixes #157
fixes #158