some improvements to post