modify action factory