Fix : error in replenish SQL