fix the problem when some sections in one page, the section's attribute would be covered by the next section's.