fix precision warning