Correctly set priorities