fixed serial to be epoch time so it fits in serial