remove group expressions