Fixed bug in Arrays