Added check for character length of over 8000