modify proirity queue package