Fixed undeclared N