fix mac uid problem