added correct getNullValue imple to TextAttr