fixin localStorage access