added logic to fix pics from my working stash