Add disable variable feature, and fix error in doc