MinLength working, but can't output data