fixed localstorage issue, added title field