fixed warnings in Levenshtein