Fix method name bug