fix convert image