fix typo in array name generation. #260