fix a few segment bugs

param name bug
composite formatting
map_walker cleanup

join wrapped lines
disable some asserts