bugfix of writeValueToSection in libt5.