small fix for createAction