Fixed bug with selecting package