fix mixedup variable/cmd execution syntax