fixed up controller actions