fix for looping install of packges