fix for bug causing repeating sections in content