fix sometimes maybe network crash