hack fix of value=int/float/string bug. still needs work.