fixes for saf-modules config, new_site and site-modules page_manage and var_manage