Make actions a stack + bad variable fix
Fix params