fixed some tyhpes in action.php