remove majority gs related code