Fixed in thumbnail creation