fixing Gui Issue difference b/w windows and mac