fix priorities