if directive is used programmatically, only expect minimum amount of parameters