remove unused adapter