minor fix, remove unused array