change validation not to allow more than 1000