Used post.name instead of post.id.