fix typo
 - no need time_t cast