fixed bug with missing int->str conversion