fixed bug of association edit and delete