text length checking issue is resolved