handle empty snippet