fixed was_published_recently bug