bug fix for outline for when there is only one heading