debugging action handler