clean-up of deploy hooks