fix event & article foreign key