fix Map. Compabilities with py3k