fix import problem
slightly improved group error