fixed garbage value in (n)