Fixed receiving data and getting ints/doubles.