fixed down stream element get function to return derived class instead of base class