First commit for only working.
fixed bug that all history could't get.