localstorage save the variable as string. fix that