fixed compile error after move to Float64