fixing invalid syntax to Any() which broke the type testing