avoid returning nil object.