Fix order of priority