fixed for hookin -h is failed