Remove unused event in guard