get the corrections by date API stuff working