fix some bugs
fix bug load history
fix some bug