fix tracking errors in snippet.class