BUG: math library update