fixes order of installation