Fixes duplicate main section