Fix error when ACP is loaded.