fixed capitalization of localStorage