Add cmd_reset; Fixup

Second Pull-Request, I noticed an issue in the new method.