fixed strncpy length argument