fix edit posts