[DEBUG] typo of initialization of n