image validate bug.