Fixed error with image id