fix bug for previous commit