change the order of two input
add Constraint min length 6