Minor fixes to create a new action