remove show snippet method