fix for multiple breaks in a block