fix #20, make setXXXPriority works even if node is running