ensure strdup worked