removed unused fields in adapter