Solved some issues about handling nested observables