fixed new_post task
improved the new_post task