Fix typo: "lenght" -> "length".