fixed unix timestamp issue