fixed messages timestamp setting