[modify] refine Math class