alert localStorage errors