Improve do action behavior
Remove unused variable