fix long string problem by splitting