validate action names & some cleanups