correct location parameters in find_palindrome