COMMANDS.SH/keycut: fixed bugs