minor bugfix i larray