fix strcat optimize bug