fixed names of variables in action