event links bug fixing