added master avergae to page variables