Fix duping on addcmd