fixing the find method