fixed check on imagecube history