Fix conversion error - data type