made jpg uppercase as well