fixes bug with memory limits: go lang unmarshaling string to int