autogenerate map if loaded empty one