Fixed switch warning.