Fixed problem with Array being of type Object