adjust post_deploy for reliability