Fixed crashes on bad Internet