fixed getComplex bug