removing stripHostName func