add assert for post.name