fix a bug on loading sections