Fixed bug on localStorage printing issue.