fix new post bug