fixed bug in Windows Form App, now it runs properly