after deploy hook bug fix