Fixed some problems, zhao runs with retinex