add tow option to props, fix asStringMap bug.