fix max_length for TEXT bug
Fix TextProperty data_type to unicode