fixed deploy hook