fix post-install hook