History image bug fixed