fixed mismatched new delete, we still have a lot of strdup's to nuke