Fixed switch statements without a default case
Fixed empty switch