fixed confusing variable naming in imageOps