Fix empty history bug
Merge pull request #387 from SAPlayer/history-fix

Fix empty history bug