fix login and fs mount on mac