standard real wrapper fix

adds some important missing feature (see unittest changes).