fixed wrong find call