support different priorities for pm vs non, fixes #4