misc: delete unused middleware parameters and dependencies