changed callback to after_post_process