fixed the image swap