set map for onmicomplete