solved alignment problem if image is saturated