quick fix, handles case when message.date doesnt exist