fix swtich