fix validator MaxLength to Length