Fixed tiny error with cannot find function - returning nil.