fix postinstall