fix installing modules after their prereqs have been met