Fixing case statement to use platform.