bugfix: calculate current config value or arg at runtime