fix map problem initializing problems