image comparision fix.