fixed bug with array comparison in views