Fixed cross initialisation in case statement