fix leave public group in regression