section closeout in wrong place