possible fix for createdAt