modified create a new parent group conditions #235