fixed bug on head and mod (only comparing to 1 phrase) and tested baseline