fix bug and new name for localStorage items