fix post and get datapoints