fix compiling for older csSerialize function calls