added group instances id when generating parent