fix bug with break rule