fix objects array equals error