Fix some gui in mac