fixed posts.php