OFStrdup -> OFStrDup and slightly change behavior