Removing unnecessary group