Change image prep-rocessing part. It works