fix issue if nil was passed to find it would not raise an error.