fixed sizer issue on linux