kill strdup warning