fix GetAll<> method