set default pri to 0, not -1