fixed wrong author id in posts.php