fix priority selector