~ fix goddamn length encoding bug