fixed package selection issue