fix bug,edit posts