reference section bug fixes