- added support for options.saveEmpty