repair the NPE of extractOrder method
repair the width of window ,but there's still some errors
modify, change the width of window