fixed negative size for deep json