fixing bug where it wasn't looking for the same field that the python was returning