fixed .length problemo