fixed licence array iteration (close #55)