fixed random code error in image