=refactor post_render