improve opeartor== and fix indent