length fixes