remove group actions function