remove nulls on adapter