fixing the replot issue on cold_source