small change to wpf