fix selector array count