fix edit occurrence bugs