check for null created_at