remove unnecessary group