fix for running post_processing functions on block layouts when saving page variables