added prep formatter to base_module_model
update to preserve tabs when creating a new page