bug fix for section previews