fix converter bug