fixed error in lexical_cast