fixed wpf project loading error.