temp way to fix a bug of history