Fixed bug when creating accessos singleton.