bug after complete edit