fix bug with create new post