[fix] small fix in math lib