modified snippet annotator to fix split bug