hopefully fixed problem with stod