fix array default comparison bug