fix jpg capitalization