repaired case switch

added very important bracket