adding task substitutions when activity values are blank