Fix bug with prefixing for localstorage