fix section swap