Fix conversion error