added missing break on switch