fixed bad reference to math library