fix misconversion