Fix error in convert.