fix phrases group bug