fixed a bug in snippets comparsion eval