fix converison error