fixed error in Actions controller