fixes timestamp issues for expire_time