Fix processImages