Fixed priority loading bug.