modified actionBuild() in GroupController