BUGFIX: epoch time and sequence number reversed