Fixed Switch Statement

Fixed Switch Statement.