Fixing variable name lenght -> length.