fix double type