fix for those with empty localStorage
Merge remote-tracking branch 'origin/master'