fixed ready check in engine.network.request()