Fix equal bug

Fix system error when use equal operator.