fix bug in submitting image in cc side.