fix parse to image