Bug: timestamp and otype were inversed.