Client: fixed loading bug