Corrected the exponential sample task bug