replace all code in image to real code (ch16)