fix deploy hook