Max length broke some stuff fix later