remove caption classes in case statement