bug solve - n dimension ok