fixed stupid getMnethostid() bug