remove length check