deploy hook correction