Fix fail when add a new post