fix bug for previous change