Create map before trying to set it.