maybe jpg is the problem here