do not proceed if snippet is empty