bugfix with Arrays lib call