fix post_deploy hook