fix code to image