add missing strcpy() call