fix bug with adding post to section