Fixed bug for converter