fix section parsing