failed in getting sub domain from hashmap