operator overloading fix