Fix priority order