Fix bug in layout al almost all sections

Signed-off-by: Jesús Antonio García Valadez <zerovamp@hotmail.com>