fixed missing break anomaly