revise gui for windows bug