android solve NULL map position and memory range