cleaning libm up