remove local adapter