slight changes to map render functions does not change output or fix problems yet