fix for text length