some converter fix in hw4