fixed error case for snippet banner