correct library order