fix for string/integer conversion in 1.93 and 2.0