Prevent double events