Anothe go at fixing the JPG