fix a bug with object/string