fix handling of empty {{}} sections