show default device in list mode
fix memory leak