Bug fix: elements of array aren't fixed