fixing bug for x-rwd-text-with-thumbnail