fix ordering of installs