fix db wipe command (issue #227)