Fixed bug for accessLocal.