Fixes on thumnail jpg