Fix bug introducted with maybe myresponse presentation with colspan and rowspan
Fixes to the pass by reference cleanup on the APIs