fix action_uninstall
actions.py: refactor