fix bug on Network.loadingFailed