remove over optimization in equal