debugging the csplit
small fixes