fix create new post redirect error