Snippet compilation fix