Fix post.type