fix in beta 4

fix some string problems in beta 4.