removes old image handler