fix mac deploy