Fixed some missing line to support post thumnails