fixed issue of some parts of page not being put in module