Fixed broken output from local storage