Minor fix in CustomAdapter