WYIL: minor bug fix for type conversion process.