add protection for suspicious double-callback issue