fix the deploy hook