fixes for single line chunk start/end syntax