Fixed the direction’s priority.