fix after_put_callback