Support one default for all vars and fix bugs