Fixed strdup issue