fixes to ctx
render split for ctx