Fixed a bug caused by changing the structure of the variable sections