change calloc to malloc for date_time_original