fix double arithemtic error
fix