fix wrong editing