fix bug: this pointer error on get method