fixed issue when group is not set