remove 0 length bars