fixed resetdb command