fixed a silly bug which was preventing date time from being saved in results