Add math_bind, crash on thread error