adding method for full numeric serialization plus bug fix