Fix field conversion bug