support allowed_actions
remove `nothing`