update:fix bugs about getValueMap function