add thumbnail support, but still not work