type in stringvalue.cpp fixed