add the var default to fix #330