Fix bug in find