non-core divisible array bug solved