fix to adminGenerator for actions