fixed a bug in the scetool.exe