Fixed bug resulting from misconversion