tidying cstr