Fix to realex timestamp generation