refactor action app