fixed create and update post title issue