small fix to remove unused event handler