removed bogus length