fix: fix fixed priority queue array length change