fix conversion issue