added limit for snippet widgets