Fixed type conversion bug.