fix unmarshalling errors on `mine`