fixed bugs in strcat methods