fixed issue with post-thumbnails