fixed map reading
Merge pull request #78 from mikeemoo/master

fixed map reading