fix maps with spaces not loading