fixing issue Mac