fixed bug with text value