fixing name-resolve