fixed arguments of switchTab command