some cleaning on the code of image_pub