- another try to fix the bugs in thumbnails because of last  implementation