bug fix. and supports post-thumbnail.