merged limit and length validators