fixed version number and bug: localStorage was restored on each request