attempting to fix broken installation logic