remove broken statements