minor fix in custom cmds