Fixed issue with reference section duplication