removed dead code in WPF client