bugfix for nsdata to nsstring conversion