fix condition for disabling published_at date