add control support on mac os