fix conversion