cleaned SimpleObjectWriter