fix: should add case 3 to a switch statement.