Bug fix arr