ensure getlogin doesnt fail