fixed typos, map now support any value, won't throw errors on acceptable segment names