commit : length managed/input bug