modify selectName method to handle names which are null
modify selectName method to handle names which are null

nimble-platform/frontend-service,nimble-platform/frontend-service,nimble-platform/frontend-service,nimble-platform/frontend-service