Fixing thumbnail issue