improvements to post handling and layouts