implement image reset