fix csv export and chart js really only wants integers so if that value is the string this is going to get weird!