new post and fix post.php bug