improve post plugin