fixed the snippet bug