Hashmap still returns empty