fix another bug
fix math bug