history is now show correctly