Fix multi edit bug