fix bug on last change