Fixes text_value returning as an integer