why unable to generate thumbnail