bug fix of missing break in case blocks