Fix method overloading bug