fix $grant->__toString()