fixed glade startup bug