fix bug bad param type  in getStats()