Fixed VS bug on starting the app.