fix bug when finding reuseable-group