prevent parse error when localStorage.* does not exist
add some loggin
also order by path