fixed bug to convert string config item to number