add err argument for kick command