string/int conversionbug