Fixed broken jpegs.