fixup fixed error in ws_string_cat and deinit function