fixed bug in map_providers error message closes #221