Small fix to adding an action