fixed install hook