fixed multiple package install bug