math failed. bcad.js work