various fixes for post with post images and draft posts